package com.shop.shopserver.service;


import com.shop.shoppojo.dto.UserRegisterDTO;
import com.shop.shoppojo.vo.UserInfoVO;

public interface UserService {
    /**
     * 获取用户信息
     * @return
     */
    UserInfoVO getUserInfo();

    /**
     * 获取短信验证码
     * @param username
     */
    String getNoteCode(String username) throws Exception;

    /**
     * 用户注册
     * @param userRegisterDTO
     */
    void register(UserRegisterDTO userRegisterDTO);
}
